package com.qzct.service.impl;

import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.qzct.entity.CuisineImgs;
import com.qzct.mapper.CuisineImgsMapper;
import com.qzct.service.CuisineImgsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

/**
 *  服务层实现。
 *
 * @author 闽闽
 * @since 2025-01-11
 */
@Service
public class CuisineImgsServiceImpl extends ServiceImpl<CuisineImgsMapper, CuisineImgs> implements CuisineImgsService {
    @Autowired
    private CuisineImgsMapper cuisineImgsMapper;

    @Override
    public ArrayList<CuisineImgs> getByCid(int id) {
        return cuisineImgsMapper.getByCid(id);
    }
}
